package com.lin.filegraph.utils.parser.node;

import org.eclipse.jdt.core.dom.ASTNode;

/**
 * @description:
 * @author: linhuaixu
 * @time: 2023/5/18 10:22
 */

public class JParameterNode extends JTreeNode{
    private String parameterName;
    private String parameterType;

    public JParameterNode(String filePath, ASTNode astNode, String parameterName, String parameterType) {
        super(filePath, astNode);
        this.parameterName = parameterName;
        this.parameterType = parameterType;
    }

    public String getParameterName() {
        return parameterName;
    }

    public String getParameterType() {
        return parameterType;
    }

    @Override
    public String toString() {
        return "[ParameterNode] ParameterName:" + parameterName +
                " parameterType:" + parameterType;
    }
}

